projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f4bd9a
)
powerpc83xx/km: lock the window size to 2GiB befor fixing sdram size
author
Christian Herzig
<
[email protected]
>
Wed, 21 Mar 2012 12:42:43 +0000
(13:42 +0100)
committer
Kim Phillips
<
[email protected]
>
Fri, 15 Jun 2012 21:42:32 +0000
(16:42 -0500)
If the ram size isn't locked to 2GiB, the get_ram_size() may hang up.
Signed-off-by: Christian Herzig <
[email protected]
>
cc: Kim Phillips <
[email protected]
>
cc: Valentin Longchamp <
[email protected]
>
cc: Gerlando Falauto <
[email protected]
>
Signed-off-by: Holger Brunck <
[email protected]
>
Signed-off-by: Kim Phillips <
[email protected]
>
board/keymile/km83xx/km83xx.c
patch
|
blob
|
history
diff --git
a/board/keymile/km83xx/km83xx.c
b/board/keymile/km83xx/km83xx.c
index 16ae2e4c3cc7fb2937ee9699f9449bc354644ab7..c3a05e6e2c5715b7d4403f8b3a0eeab7a6c26682 100644
(file)
--- a/
board/keymile/km83xx/km83xx.c
+++ b/
board/keymile/km83xx/km83xx.c
@@
-204,7
+204,7
@@
int fixed_sdram(void)
u32 ddr_size_log2;
out_be32(&im->sysconf.ddrlaw[0].ar, (LAWAR_EN | 0x1e));
- out_be32(&im->ddr.csbnds[0].csbnds,
CONFIG_SYS_DDR_CS0_BNDS
);
+ out_be32(&im->ddr.csbnds[0].csbnds,
(CONFIG_SYS_DDR_CS0_BNDS) | 0x7f
);
out_be32(&im->ddr.cs_config[0], CONFIG_SYS_DDR_CS0_CONFIG);
out_be32(&im->ddr.timing_cfg_0, CONFIG_SYS_DDR_TIMING_0);
out_be32(&im->ddr.timing_cfg_1, CONFIG_SYS_DDR_TIMING_1);